$f: 19.2;

.home {
  .section1 {
    background: linear-gradient(180deg, rgba(245, 245, 245, 0.00) 0%, #F5F5F5 100%);
    padding: 160/$f+vw 240/$f+vw;
    display: flex;
    justify-content: space-between;

    .l {
      width: 640/$f+vw;

      .t {
        color: rgba(0, 0, 0, 0.9);
        font-size: 20/$f+vw;
        width: 258/$f+vw;
        border-bottom: 2/$f+vw solid rgba(5, 18, 40, .6);
        padding-bottom: 4/$f+vw;
      }

      .t2 {
        margin: 40/$f+vw 0 56/$f+vw 0;
        color: rgba(0, 0, 0, 0.9);
        line-height: 1.5;
        font-size: 50/$f+vw;
        letter-spacing: 0.1px;
        font-family: "Montserrat";
        font-weight: 300;
      }

      .des {
        color: rgba(0, 0, 0, 0.6);
        width: 100%;
        font-size: 18/$f+vw;
        text-align: justify;
        line-height: 1.5;
        letter-spacing: 0.1px;
      }
    }

    .r {
      overflow: hidden;

      img {
        width: 738/$f+vw;
        height: 456/$f+vw;
        object-fit: cover;
        border-radius: 20/$f+vw;
        transition: all 600ms ease-in-out;
      }

      &:hover {
        img {
          transform: scale(1.05);
        }
      }
    }
  }

  .section2 {
    margin: 120/$f+vw 240/$f+vw 80/$f+vw 240/$f+vw;
    display: flex;
    border-radius: 20/$f+vw;
    background: #F5F5F5;
    position: relative;
    overflow: hidden;

    .line {
      position: absolute;
      right: 0;
      bottom: 0;
      pointer-events: none;

      svg {
        max-width: 100%;
      }
    }

    .map {
      img {
        width: 884/$f+vw;
        height: 280/$f+vw;
      }
    }

    .r {
      padding: 29/$f+vw 0 0 80/$f+vw;

      .p1 {
        color: rgba(0, 0, 0, 0.90);
        font-size: 50/$f+vw;
        line-height: 1.5;
        letter-spacing: 0.1px;
        margin-bottom: 36/$f+vw;
        font-family: "Montserrat";
        font-weight: 300;
      }

      .info {
        .item {
          display: flex;
          align-items: center;

          &:not(:last-child) {
            margin-bottom: 20/$f+vw;
          }

          .icon {
            svg {
              width: 16/$f+vw;
              height: 16/$f+vw;
              display: block;
            }
          }

          p {
            color: rgba(0, 0, 0, 0.90);
            font-size: 14/$f+vw;
            line-height: 1.3;
            margin-left: 4/$f+vw;
          }
        }
      }
    }
  }

  .section3 {
    margin: 0 240/$f+vw 100/$f+vw 240/$f+vw;
    background: #F5F5F5;
    padding: 86/$f+vw 100/$f+vw 60/$f+vw 100/$f+vw;
    border-radius: 20/$f+vw;

    .t {
      color: rgba(0, 0, 0, 0.9);
      font-size: 20/$f+vw;
      width: 258/$f+vw;
      border-bottom: 2/$f+vw solid rgba(5, 18, 40, .6);
      padding-bottom: 4/$f+vw;
    }

    .t2 {
      color: rgba(0, 0, 0, 0.90);
      font-size: 50/$f+vw;
      line-height: 1.5;
      margin: 40/$f+vw 0 65/$f+vw 0;
      letter-spacing: 0.1px;
      font-family: "Montserrat";
      font-weight: 300;
    }

    .form {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;

      .item {
        width: 47%;
        margin-bottom: 40/$f+vw;

        .tag {
          color: #000;
          font-size: 18/$f+vw;
          margin-bottom: 16/$f+vw;
        }

        input {
          border-radius: 26/$f+vw;
          background: #FFF;
          width: 100%;
          border: none;
          outline: none;
          height: 52/$f+vw;
          color: rgba(0, 0, 0, 0.60);
          line-height: 1;
          font-size: 16/$f+vw;
          padding: 18/$f+vw 26/$f+vw;
          font-weight: 200;

          &::placeholder {
            color: rgba(0, 0, 0, 0.60);
            font-weight: 200;
          }
        }

        textarea {
          border-radius: 26/$f+vw;
          background: #FFF;
          width: 100%;
          border: none;
          outline: none;
          height: 190/$f+vw;
          resize: none;
          color: rgba(0, 0, 0, 0.60);
          line-height: 1;
          font-size: 16/$f+vw;
          padding: 18/$f+vw 26/$f+vw;
          font-weight: 200;

          &::placeholder {
            color: rgba(0, 0, 0, 0.60);
            font-weight: 200;
          }
        }
      }

      .msg {
        width: 100%;
        margin-bottom: 24/$f+vw;
      }

      .notice {
        display: flex;
        align-items: center;
        margin-bottom: 24/$f+vw;

        .c {
          border-radius: 4px;
          border: 1px solid rgba(0, 0, 0, 0.20);
          width: 16/$f+vw;
          height: 16/$f+vw;
          display: flex;
          align-items: center;
          justify-content: center;
          cursor: pointer;
          svg{
            width: 100%;
            height: 100%;
            display: block;
            opacity: 0;
            transition: all 600ms;
          }
        }
        .checked{
           border-color: transparent;
          svg{
            opacity: 1;
          }
        }
        .st{
          color: rgba(0, 0, 0, 0.60);
          font-size: 14/$f+vw;
          text-transform: capitalize;
          margin-left: 8/$f+vw;
          a{
            text-decoration:underline;
          }
        }
      }

      .btn {
        width: 100%;

        .submit {
          border-radius: 30/$f+vw;
          background: rgba(0, 0, 0, 0.90);
          width: 214/$f+vw;
          height: 60/$f+vw;
          display: flex;
          align-items: center;
          justify-content: center;
          color: #fff;
          font-size: 20/$f+vw;
          line-height: 1.3;
          transition: all 600ms;
          cursor: pointer;
          margin: 0 auto;
          outline: none;
          border: none;

          svg {
            width: 27/$f+vw;
            margin-left: 10/$f+vw;
            display: block;
          }

          &:hover {
            background: #3FAEEE;
            color: white;
          }
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    padding-top: 60px;

    .section1 {
      padding: 20px 5%;
      flex-direction: column;

      .l {
        width: 100%;

        .t {
          font-size: 20px;
          width: 80%;
          border-bottom: 2px solid rgba(5, 18, 40, 0.6);
          padding-bottom: 4px;
        }

        .t2 {
          margin: 20px 0;
          font-size: 24px;
          line-height: 1.3;
        }

        .des {
          font-size: 16px;
          line-height: 1.3;
        }
      }

      .r {
        width: 100%;
        margin-top: 20px;

        img {
          width: 100%;
          height: auto;
          border-radius: 20px;
        }
      }
    }

    .section2 {
      margin: 20px 5%;
      flex-direction: column;
      border-radius: 20px;

      .line {
        svg {
          height: 120px;
        }
      }

      .map {
        img {
          width: 100%;
          height: auto;
        }
      }

      .r {
        padding: 15px 5%;

        .p1 {
          font-size: 24px;
          margin-bottom: 10px;
        }

        .info {
          .item {
            .icon {
              svg {
                width: 16px;
                height: 16px;
              }
            }

            p {
              font-size: 14px;
              margin-left: 5px;
            }

            &:not(:last-child) {
              margin-bottom: 15px;
            }
          }
        }
      }
    }

    .section3 {
      margin: 0 5% 60px 5%;
      border-radius: 20px;
      padding: 30px 15px;

      .t {
        font-size: 20px;
        width: 80%;
        border-bottom: 2px solid rgba(5, 18, 40, 0.6);
        padding-bottom: 4px;
      }

      .t2 {
        font-size: 24px;
        margin: 20px 0 30px 0;
      }

      .form {
        .item {
          width: 100%;
          margin-bottom: 20px;

          .tag {
            font-size: 16px;
            margin-bottom: 10px;
          }

          input {
            height: 42px;
            border-radius: 30px;
            font-size: 14px;
            padding: 10px 15px;
          }

          textarea {
            height: 160px;
            border-radius: 20px;
            font-size: 14px;
            padding: 10px 15px;
          }
        }

        .notice{
          margin-bottom:20px;
          .c{
            width: 16px;
            height: 16px;
          }
          .st{
            font-size: 14px;
            margin-left: 8px;
            width: calc(100% - 24px);
          }
        }

        .btn {
          .submit {
            width: 150px;
            height: 35px;
            border-radius: 30px;

            p {
              font-size: 16px;
            }

            svg {
              width: 15px;
              margin-left: 5px;
            }
          }
        }
      }
    }
  }
}